package com.qyl.honghengshop.dao;

import java.util.List;
import java.util.Map;

import com.qyl.honghengshop.dto.Goods_type;
import com.qyl.honghengshop.utils.PageBean;

public interface GoodsTypeDao {

	int getRecordCount(Goods_type goods_type);

	void shopTypeList(PageBean pageBean,Goods_type goods_type);

	List<Goods_type> getShopTypeAjax();

	int add(Goods_type goods_type);

	int delShopType(String code);

	Goods_type getShopTypeByCode(String code);

	int update(Goods_type goods_type);

	List<Map<String, String>> getMaxGoodTypes();

	List<Map<String, String>> getMinGoodTypes(String string);

	int getIndexTypeNum();

	public Map<String, String> getCodeByIndexFiled(int i);

}
